#include "StdAfx.h"
#include "ToolButtonUI.h"

CToolButtonUI::CToolButtonUI(void)
{
}

CToolButtonUI::~CToolButtonUI(void)
{
}

LPCTSTR CToolButtonUI::GetClass() const
{
	return _T("ToolButtonUI");
}

void CToolButtonUI::DoPaint(HDC hDC, const RECT& rcPaint)
{
	UINT uState = 0;
	if( IsFocused() ) uState |= UISTATE_FOCUSED;
	if( !IsEnabled() ) uState |= UISTATE_DISABLED;
	CBlueRenderEngineUI::DoPaintToolbarButton(hDC, m_pManager, m_rcItem, m_sText, m_szPadding, m_uButtonState | uState);
}
